package com.cc.sanjieduan.mapper;

import com.cc.sanjieduan.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {


    void addUser(User user);

    List<User> selectByUserNameOrPhoneOrEmail(@Param("username") String username, @Param("phone") String phone, @Param("email") String email);

    User selectUserByUserName(String username);

    void upDateUser(User user);

    void upDateUserLogin(User user);
}
